import { axios } from "@/services/axios";

const ContractApply = {
  get: data => axios.get(`api/contractapply/${data.id}`),
  getcode: params => axios.post(`api/contractapply/code`, params),
  getlist: params => axios.post(`api/contractapply/list`, params),
  create: data => axios.post("api/contractapply", data),
  getid: data => axios.get("api/contractapply", data),
  save: data => axios.post(`api/contractapply/${data.id}`, data),
  delete: data => axios.post(`api/contractapply/delete/${data.id}`),
  getpushbill: data => axios.post("api/contractpushbill", data),
};
export default ContractApply;


